package jy.game.components.task;


import java.util.List;

import jy.game.BasePojo;
import jy.game.components.story.JyStoryResult;
import wx.xml.simpleframework.xml.Attribute;
import wx.xml.simpleframework.xml.Element;
import wx.xml.simpleframework.xml.ElementList;
import wx.xml.simpleframework.xml.Root;

@Root(name = "task")
public class JyTask extends BasePojo {

    @Attribute(name = "name") public                      String               name;
    @Attribute(name = "description") public               String               desc;
    @Element(name = "result") public                      JyStoryResult        result;

    @ElementList(name = "location", inline = true) public List<JyTaskLocation> locations;
    @ElementList(name = "finish", inline = true) public   List<JyTaskFinish>   finishes;

    // (get) Token: 0x06000564 RID: 1380 RVA: 0x00004EC6 File Offset: 0x000030C6
    @Override public /*override*/ String getPK() {
        {
            return this.name;
        }
    }
}